{include file="header.html"}
<title>库存查询列表</title>
<style>
	table.dataTable td { font-size: 10px;}
</style>
<script>
    $(function () {
        $('#EndDate').datepicker({changeMonth: true, changeYear: true});

    });
</script>
<div id="rightTop">
	<p>库存查询列表</p>
</div>
<div class="mrightTop">
	<div class="fontl">
		<form id="select_from" method="get">
				<input type="hidden" name="app" value="getkucun"/>
				<input id='act' type="hidden" name="act" value="index"/>

					<div class="c1">
						<div class="c2">截止日期</div>
						<div class="c3">	<input class="queryInput2" type="text" value="{$smarty.get.EndDate}" id="EndDate"
					   name="EndDate"/></div>
					</div>
					<div class="c1">
						<div class="c2">仓库</div>
						<div class="c3">
				<input class="queryInput2" type="text" value="{$smarty.get.Godown}" id="Godown"
					   name="Godown"/></div>
					</div>
			<div class="c4"></div>
			<div class="c1">
				<div class="c2">
				物料名称</div>
				<div class="c3">
				<input class="queryInput2" type="text" value="{$smarty.get.MaterialName}" id="MaterialName"
					   name="MaterialName"/></div>
			</div>
			<div class="c1">
				<div class="c2">
				货位</div>
				<div class="c3">
				<input class="queryInput2" type="text" value="{$smarty.get.Goods}" id="Goods"
					   name="Goods"/></div>
			</div>
			<div class="c4"></div>
			<div class="c1">
				<div class="c2">
				入库编号</div>
				<div class="c3">
				<input class="queryInput2" type="text" value="{$smarty.get.RKCode}" id="RKCode"
					   name="RKCode"/></div>
			</div>
			<div class="c1">
				<input type="submit" style="margin-left: 5px"  class="formbtn" value="查询"/>
			</div>

			<div class="c4"></div>

		</form>
	</div>

	<div class="clear:both;"></div>
</div>
<div class="tdare">
	<table width="100%" cellspacing="0" class="dataTable"  style="margin-top: 60px">
		<!--{if $getkucuns}-->
		<tr class="tatr1">
			<td width="10px"></td>
			<td >仓库</td>
			<td >入库编号</td>
			<td>物料名称</td>
			<td class="handler" style="width:40px;">操作</td>
		</tr>
		<!--{/if}-->
		<!--{foreach from=$getkucuns item=getkucun}-->
		<tr class="tatr2">
			<td width="10px"></td>
			<td >{$getkucun.S_Name}</td>
			<td >{$getkucun.SIM_Code}</td>
			<td >{$getkucun.sm_name}</td>
			<td class="handler" style="width:40px;">
				<a href="index.php?app=getkucun&amp;act=listmore&amp;id={$getkucun.SS_Tid}&amp;pageIndex={$page_info.curr_page}" >更多</a>
			</td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="4"><img style="width: 20%"  src="themes/mall/default/styles/default/images/n.png"></td>
		</tr>
		<!--{/foreach}-->

	</table>
	<!--{if $getkucuns}-->{include file=page.new.html}
	<div style="margin-top: 30px"></div>
	<!--{else}-->
	<div style="margin-top: 50px"></div>
	<!--{/if}-->

</div>

